<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  
  <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
  <script type="text/javascript" src="https://cdn.bootcss.com/qs/6.7.0/qs.min.js"></script>
</head>
<body>
  <button onclick="sendRequest()">发起请求</button>
</body>

<script src="./cancelRepetitive.js"></script>
<script src="./anewInitiate.js"></script>
<script src="./businessCodeDispose.js"></script>
<script src="'./checkToken.js"></script>
<script src="./require.js"></script>

<script>
  function getApi(data) {
    return server({
      url: '/goods/categories/queryPageByBrand',
      method: 'get',
      params: data,
      retryTimes: 1
    })
  }
  function sendRequest() {
    getApi({
      keyword: '浙江朋贝科技有限公司'
    }).then(res => {
      console.log(res)
    }).catch(err => {
      console.log(err)
    })
  }
</script>
</html>